package entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

/**
 * The type Route.
 */
public class Route extends Common implements Serializable {
    private static final long serialVersionUID = -61594678659826428L;
    @TableId(type = IdType.ID_WORKER_STR)
    private String id;


    /**
     * 仓库id
     */
    @TableField(value = "storehouseId")
    private String storehouseId;
    /**
     * 司机id
     */
    @TableField(value = "carId")
    private String carId;
    /**
     * 分拣员id
     */
    @TableField(value = "sortId")
    private String sortId;
    /**
     * 门店id
     */
    @TableField(value = "storeId")
    private String storeId;
    /**
     * 名称
     */
    private String name;
    /**
     * 删除
     */
    private Integer delete;

    /**
     * To string string.
     *
     * @return the string
     */
    @Override
    public String toString() {
        return "Route{" +
                "id='" + id + '\'' +
                ", storehouseId='" + storehouseId + '\'' +
                ", carId='" + carId + '\'' +
                ", sortId='" + sortId + '\'' +
                ", storeId='" + storeId + '\'' +
                ", name='" + name + '\'' +
                ", delete=" + delete +
                '}';
    }

    /**
     * Gets serial version uid.
     *
     * @return the serial version uid
     * @author overlook
     * @date 2022 -04-16 20:32:02
     */
    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    /**
     * Gets id.
     *
     * @return the id
     * @author overlook
     * @date 2022 -04-16 20:32:02
     */
    public String getId() {
        return id;
    }

    /**
     * Sets id.
     *
     * @param id the id
     * @author overlook
     * @date 2022 -04-16 20:32:02
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * Gets storehouse id.
     *
     * @return the storehouse id
     * @author overlook
     * @date 2022 -04-16 20:32:02
     */
    public String getStorehouseId() {
        return storehouseId;
    }

    /**
     * Sets storehouse id.
     *
     * @param storehouseId the storehouse id
     * @author overlook
     * @date 2022 -04-16 20:32:02
     */
    public void setStorehouseId(String storehouseId) {
        this.storehouseId = storehouseId;
    }

    /**
     * Gets car id.
     *
     * @return the car id
     * @author overlook
     * @date 2022 -04-16 20:32:02
     */
    public String getCarId() {
        return carId;
    }

    /**
     * Sets car id.
     *
     * @param carId the car id
     * @author overlook
     * @date 2022 -04-16 20:32:02
     */
    public void setCarId(String carId) {
        this.carId = carId;
    }

    /**
     * Gets sort id.
     *
     * @return the sort id
     * @author overlook
     * @date 2022 -04-16 20:32:02
     */
    public String getSortId() {
        return sortId;
    }

    /**
     * Sets sort id.
     *
     * @param sortId the sort id
     * @author overlook
     * @date 2022 -04-16 20:32:02
     */
    public void setSortId(String sortId) {
        this.sortId = sortId;
    }

    /**
     * Gets store id.
     *
     * @return the store id
     * @author overlook
     * @date 2022 -04-16 20:32:02
     */
    public String getStoreId() {
        return storeId;
    }

    /**
     * Sets store id.
     *
     * @param storeId the store id
     * @author overlook
     * @date 2022 -04-16 20:32:03
     */
    public void setStoreId(String storeId) {
        this.storeId = storeId;
    }

    /**
     * Gets name.
     *
     * @return the name
     * @author overlook
     * @date 2022 -04-16 20:32:03
     */
    public String getName() {
        return name;
    }

    /**
     * Sets name.
     *
     * @param name the name
     * @author overlook
     * @date 2022 -04-16 20:32:03
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * Gets delete.
     *
     * @return the delete
     * @author overlook
     * @date 2022 -04-16 20:32:03
     */
    public Integer getDelete() {
        return delete;
    }

    /**
     * Sets delete.
     *
     * @param delete the delete
     * @author overlook
     * @date 2022 -04-16 20:32:03
     */
    public void setDelete(Integer delete) {
        this.delete = delete;
    }

    /**
     * Instantiates a new Route.
     *
     * @param id           the id
     * @param storehouseId the storehouse id
     * @param carId        the car id
     * @param sortId       the sort id
     * @param storeId      the store id
     * @param name         the name
     * @param delete       the delete
     * @author overlook
     * @date 2022 -04-16 20:32:03
     */
    public Route(String id, String storehouseId, String carId, String sortId, String storeId, String name, Integer delete) {
        this.id = id;
        this.storehouseId = storehouseId;
        this.carId = carId;
        this.sortId = sortId;
        this.storeId = storeId;
        this.name = name;
        this.delete = delete;
    }

    /**
     * Instantiates a new Route.
     *
     * @author overlook
     * @date 2022 -04-16 20:32:03
     */
    public Route() {
    }
}

